prepositions may sometimes be used to end sentences. for example, "what did you put that there for?" (better english is the alternative: "why did you put that there?") example 2: "a pen is a device to write with" (better english is "a pen is a writing device"). in general, because they are links, prepositions belong in the middle of sentences, rather than at the end.