sm505